package com.rightsidetech.system.mapper;

import com.rightsidetech.system.entity.SysAgentRoleAccount;

import java.util.List;

public interface SysAgentRoleAccountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysAgentRoleAccount record);

    int insertSelective(SysAgentRoleAccount record);

    SysAgentRoleAccount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysAgentRoleAccount record);

    int updateByPrimaryKey(SysAgentRoleAccount record);

    SysAgentRoleAccount selectByLoginId(Long loginId);

    int selectByRoleId(Long roleId);

    int deleteByLoginId(Long loginId);

    List<Long> selectLoginIdByRoleId(Long roleId);
}